name: tests221 run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/bin:/opt/pyenv/bin:/tmp/venv-2BoY/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PYTHONHASHSEED: 3868769975 env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONIOENCODING: utf-8 env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env TOX_ENV_NAME: tests221 env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221 metadata pid: 44149 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/bin/*:launch_tests.sh cmd: ./launch_tests.sh 2.2.1 exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/2.2.1/test01_portmapping.py ................................... [100%] 35 passed in 70.46s (0:01:10) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 40.46s pytest -q transportpce_tests/2.2.1/test03_topology.py ............................................ [100%] 44 passed in 129.58s (0:02:09) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ............ [100%] 12 passed in 64.22s (0:01:04) pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ................ [100%] 16 passed in 112.40s (0:01:52) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py ............................... [100%] 31 passed in 34.12s pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py .......................... [100%] 26 passed in 92.33s (0:01:32) pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py FFFFFFFFFFFFFFFFFFFFFF [100%] =================================== FAILURES =================================== _________________ TransportPCEtesting.test_01_connect_SPDR_SA1 _________________ self = def test_01_connect_SPDR_SA1(self): response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 401 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:49: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! OpenDaylight started ! starting simulator spdra in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in spdra-221.log... Pattern found! simulator for spdra started starting simulator spdrc in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in spdrc-221.log... Pattern found! simulator for spdrc started ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'Triggering notification stream NETCONF for node SPDR-SA1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SA1 still not added to tpce topology... _________________ TransportPCEtesting.test_02_connect_SPDR_SC1 _________________ self = def test_02_connect_SPDR_SC1(self): response = test_utils.mount_device("SPDR-SC1", ('spdrc', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 401 != 201 : Http status code should be 201 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:59: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'Triggering notification stream NETCONF for node SPDR-SC1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SC1 still not added to tpce topology... _______________ TransportPCEtesting.test_03_service_create_OTU4 ________________ self = def test_03_service_create_OTU4(self): > response = test_utils.transportpce_api_rpc_request( 'transportpce-renderer', 'service-implementation-request', { 'service-name': 'SPDRA-SPDRC-OTU4-ODU4', 'connection-type': 'infrastructure', 'service-handler-header': { 'request-id': 'abcd12-efgh34' }, 'service-a-end': { 'service-format': 'OTU', 'otu-service-rate': 'org-openroadm-otn-common-types:OTU4', 'clli': 'nodeSA', 'node-id': 'SPDR-SA1' }, 'service-z-end': { 'service-format': 'OTU', 'otu-service-rate': 'org-openroadm-otn-common-types:OTU4', 'clli': 'nodeSC', 'node-id': 'SPDR-SC1' }, 'path-description': { 'aToZ-direction': { 'rate': 100, 'modulation-format': 'dp-qpsk', 'aToZ-wavelength-number': 1, 'aToZ': [ { 'id': '0', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': '' } }, { 'id': '1', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '2', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '3', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': '' } } ], 'aToZ-min-frequency': 196.075, 'aToZ-max-frequency': 196.125 }, 'zToA-direction': { 'zToA-wavelength-number': '1', 'rate': '100', 'modulation-format': 'dp-qpsk', 'zToA': [ { 'id': '0', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': '' } }, { 'id': '1', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '2', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '3', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': '' } } ], 'zToA-min-frequency': 196.075, 'zToA-max-frequency': 196.125 } } }) transportpce_tests/2.2.1/test08_otn_sh_renderer.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-renderer', rpc = 'service-implementation-request' payload = {'connection-type': 'infrastructure', 'path-description': {'aToZ-direction': {'aToZ': [{'id': '0', 'resource': {'tp-id...roadm-otn-common-types:OTU4', 'service-format': 'OTU'}, 'service-handler-header': {'request-id': 'abcd12-efgh34'}, ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'transportpce-renderer:output' transportpce_tests/common/test_utils.py:694: KeyError _______________ TransportPCEtesting.test_04_check_interface_och ________________ self = def test_04_check_interface_och(self): response = test_utils.check_node_attribute_request("SPDR-SA1", "interface", "XPDR1-NETWORK1-761:768") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:174: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-761:768 _______________ TransportPCEtesting.test_05_check_interface_OTU ________________ self = def test_05_check_interface_OTU(self): response = test_utils.check_node_attribute_request("SPDR-SA1", "interface", "XPDR1-NETWORK1-OTU") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:190: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-OTU _______________ TransportPCEtesting.test_06_check_interface_och ________________ self = def test_06_check_interface_och(self): response = test_utils.check_node_attribute_request("SPDR-SC1", "interface", "XPDR1-NETWORK1-761:768") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:213: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-761:768 _______________ TransportPCEtesting.test_07_check_interface_OTU ________________ self = def test_07_check_interface_OTU(self): response = test_utils.check_node_attribute_request("SPDR-SC1", "interface", "XPDR1-NETWORK1-OTU") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:229: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-OTU _______________ TransportPCEtesting.test_08_service_create_ODU4 ________________ self = def test_08_service_create_ODU4(self): > response = test_utils.transportpce_api_rpc_request( 'transportpce-renderer', 'service-implementation-request', { 'service-name': 'SPDRA-SPDRC-OTU4-ODU4', 'connection-type': 'infrastructure', 'service-handler-header': { 'request-id': 'abcd12-efgh34' }, 'service-a-end': { 'service-format': 'ODU', 'odu-service-rate': 'org-openroadm-otn-common-types:ODU4', 'clli': 'nodeSA', 'node-id': 'SPDR-SA1' }, 'service-z-end': { 'service-format': 'ODU', 'odu-service-rate': 'org-openroadm-otn-common-types:ODU4', 'clli': 'nodeSC', 'node-id': 'SPDR-SC1' }, 'path-description': { 'aToZ-direction': { 'rate': 100, 'aToZ': [ { 'id': '0', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': '' } }, { 'id': '1', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '2', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '3', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': '' } } ] }, 'zToA-direction': { 'rate': '100', 'zToA': [ { 'id': '0', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': '' } }, { 'id': '1', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '2', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '3', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': '' } } ] } } }) transportpce_tests/2.2.1/test08_otn_sh_renderer.py:251: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-renderer', rpc = 'service-implementation-request' payload = {'connection-type': 'infrastructure', 'path-description': {'aToZ-direction': {'aToZ': [{'id': '0', 'resource': {'tp-id...roadm-otn-common-types:ODU4', 'service-format': 'ODU'}, 'service-handler-header': {'request-id': 'abcd12-efgh34'}, ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'transportpce-renderer:output' transportpce_tests/common/test_utils.py:694: KeyError _______________ TransportPCEtesting.test_09_check_interface_ODU4 _______________ self = def test_09_check_interface_ODU4(self): response = test_utils.check_node_attribute_request("SPDR-SA1", "interface", "XPDR1-NETWORK1-ODU4") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:352: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU4 _______________ TransportPCEtesting.test_10_check_interface_ODU4 _______________ self = def test_10_check_interface_ODU4(self): response = test_utils.check_node_attribute_request("SPDR-SC1", "interface", "XPDR1-NETWORK1-ODU4") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:379: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU4 _______________ TransportPCEtesting.test_11_service_create_10GE ________________ self = def test_11_service_create_10GE(self): > response = test_utils.transportpce_api_rpc_request( 'transportpce-renderer', 'service-implementation-request', { 'service-name': 'SPDRA-SPDRC-10G', 'connection-type': 'service', 'service-handler-header': { 'request-id': 'abcd12-efgh34' }, 'service-a-end': { 'service-format': 'Ethernet', 'service-rate': '10', 'clli': 'nodeSA', 'node-id': 'SPDR-SA1' }, 'service-z-end': { 'service-format': 'Ethernet', 'service-rate': '10', 'clli': 'nodeSC', 'node-id': 'SPDR-SC1' }, 'path-description': { 'aToZ-direction': { 'rate': 10, 'min-trib-slot': '1.1', 'max-trib-slot': '1.8', 'aToZ': [ { 'id': '0', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-CLIENT1' } }, { 'id': '1', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '2', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '3', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-CLIENT1' } } ] }, 'zToA-direction': { 'rate': '10', 'min-trib-slot': '1.1', 'max-trib-slot': '1.8', 'zToA': [ { 'id': '0', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-CLIENT1' } }, { 'id': '1', 'resource': { 'tp-node-id': 'SPDR-SC1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '2', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-NETWORK1' } }, { 'id': '3', 'resource': { 'tp-node-id': 'SPDR-SA1-XPDR1', 'tp-id': 'XPDR1-CLIENT1' } } ] } } }) transportpce_tests/2.2.1/test08_otn_sh_renderer.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api_module = 'transportpce-renderer', rpc = 'service-implementation-request' payload = {'connection-type': 'service', 'path-description': {'aToZ-direction': {'aToZ': [{'id': '0', 'resource': {'tp-id': 'XPD...', 'service-format': 'Ethernet', 'service-rate': '10'}, 'service-handler-header': {'request-id': 'abcd12-efgh34'}, ...} def transportpce_api_rpc_request(api_module: str, rpc: str, payload: dict): # pylint: disable=consider-using-f-string url = "{}/operations/{}:{}".format('{}', api_module, rpc) if payload is None: data = None elif RESTCONF_VERSION == 'draft-bierman02': data = prepend_dict_keys({'input': payload}, api_module + ':') else: data = {'input': payload} response = post_request(url, data) if response.status_code == requests.codes.no_content: return_output = None else: res = response.json() return_key = {'rfc8040': api_module + ':output', 'draft-bierman02': 'output'} if response.status_code == requests.codes.internal_server_error: return_output = res else: > return_output = res[return_key[RESTCONF_VERSION]] E KeyError: 'transportpce-renderer:output' transportpce_tests/common/test_utils.py:694: KeyError ___________ TransportPCEtesting.test_12_check_interface_10GE_CLIENT ____________ self = def test_12_check_interface_10GE_CLIENT(self): response = test_utils.check_node_attribute_request("SPDR-SA1", "interface", "XPDR1-CLIENT1-ETHERNET10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:509: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ETHERNET10G ___________ TransportPCEtesting.test_13_check_interface_ODU2E_CLIENT ___________ self = def test_13_check_interface_ODU2E_CLIENT(self): response = test_utils.check_node_attribute_request( "SPDR-SA1", "interface", "XPDR1-CLIENT1-ODU2e:SPDRA-SPDRC-10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:523: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ODU2e:SPDRA-SPDRC-10G ______________ TransportPCEtesting.test_14_check_ODU2E_connection ______________ self = def test_14_check_ODU2E_connection(self): response = test_utils.check_node_attribute_request( "SPDR-SA1", "odu-connection", "XPDR1-CLIENT1-ODU2e-x-XPDR1-NETWORK1-ODU2e") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:548: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR1-CLIENT1-ODU2e-x-XPDR1-NETWORK1-ODU2e __________ TransportPCEtesting.test_15_check_interface_ODU2E_NETWORK ___________ self = def test_15_check_interface_ODU2E_NETWORK(self): response = test_utils.check_node_attribute_request( "SPDR-SA1", "interface", "XPDR1-NETWORK1-ODU2e:SPDRA-SPDRC-10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:564: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SA1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU2e:SPDRA-SPDRC-10G __________ TransportPCEtesting.test_16_check_interface_ODU2E_NETWORK ___________ self = def test_16_check_interface_ODU2E_NETWORK(self): response = test_utils.check_node_attribute_request( "SPDR-SC1", "interface", "XPDR1-NETWORK1-ODU2e:SPDRA-SPDRC-10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:595: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU2e:SPDRA-SPDRC-10G ___________ TransportPCEtesting.test_17_check_interface_10GE_CLIENT ____________ self = def test_17_check_interface_10GE_CLIENT(self): response = test_utils.check_node_attribute_request("SPDR-SC1", "interface", "XPDR1-CLIENT1-ETHERNET10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:624: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ETHERNET10G ___________ TransportPCEtesting.test_18_check_interface_ODU2E_CLIENT ___________ self = def test_18_check_interface_ODU2E_CLIENT(self): response = test_utils.check_node_attribute_request( "SPDR-SC1", "interface", "XPDR1-CLIENT1-ODU2e:SPDRA-SPDRC-10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:638: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-CLIENT1-ODU2e:SPDRA-SPDRC-10G ______________ TransportPCEtesting.test_19_check_ODU2E_connection ______________ self = def test_19_check_ODU2E_connection(self): response = test_utils.check_node_attribute_request( "SPDR-SC1", "odu-connection", "XPDR1-CLIENT1-ODU2e-x-XPDR1-NETWORK1-ODU2e") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:662: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/odu-connection=XPDR1-CLIENT1-ODU2e-x-XPDR1-NETWORK1-ODU2e __________ TransportPCEtesting.test_20_check_interface_ODU2E_NETWORK ___________ self = def test_20_check_interface_ODU2E_NETWORK(self): response = test_utils.check_node_attribute_request( "SPDR-SC1", "interface", "XPDR1-NETWORK1-ODU2e:SPDRA-SPDRC-10G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 401 != 200 transportpce_tests/2.2.1/test08_otn_sh_renderer.py:678: AssertionError ----------------------------- Captured stdout call ----------------------------- Unauthorized /rests/data/network-topology:network-topology/topology=topology-netconf/node=SPDR-SC1/yang-ext:mount/org-openroadm-device:org-openroadm-device/interface=XPDR1-NETWORK1-ODU2e:SPDRA-SPDRC-10G _______________ TransportPCEtesting.test_21_disconnect_SPDR_SA1 ________________ self = def test_21_disconnect_SPDR_SA1(self): response = test_utils.unmount_device("SPDR-SA1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 401 not found in (200, 204) transportpce_tests/2.2.1/test08_otn_sh_renderer.py:712: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'onDeviceDisConnected:\ SPDR\-SA1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SA1 still not deleted from tpce topology... _______________ TransportPCEtesting.test_22_disconnect_SPDR_SC1 ________________ self = def test_22_disconnect_SPDR_SC1(self): response = test_utils.unmount_device("SPDR-SC1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 401 not found in (200, 204) transportpce_tests/2.2.1/test08_otn_sh_renderer.py:716: AssertionError ----------------------------- Captured stdout call ----------------------------- Searching for pattern 'onDeviceDisConnected:\ SPDR\-SC1' in karaf.log... Pattern not found after 180 seconds! Node SPDR-SC1 still not deleted from tpce topology... --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_01_connect_SPDR_SA1 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_02_connect_SPDR_SC1 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_03_service_create_OTU4 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_04_check_interface_och FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_05_check_interface_OTU FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_06_check_interface_och FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_07_check_interface_OTU FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_08_service_create_ODU4 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_09_check_interface_ODU4 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_10_check_interface_ODU4 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_11_service_create_10GE FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_12_check_interface_10GE_CLIENT FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_13_check_interface_ODU2E_CLIENT FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_14_check_ODU2E_connection FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_15_check_interface_ODU2E_NETWORK FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_16_check_interface_ODU2E_NETWORK FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_17_check_interface_10GE_CLIENT FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_18_check_interface_ODU2E_CLIENT FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_19_check_ODU2E_connection FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_20_check_interface_ODU2E_NETWORK FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_21_disconnect_SPDR_SA1 FAILED transportpce_tests/2.2.1/test08_otn_sh_renderer.py::TransportPCEtesting::test_22_disconnect_SPDR_SC1 22 failed in 790.34s (0:13:10)